<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<a href="javascript:;">sdfjasdklfjasdkl</a>


<span class="sss">111</span>




</body>
</html>
<script src="jquery.min.js"></script>
<script>

    //倒计时
    function timedMsg(){
        var countdown = 5;
        var timerTip = $('.sss');
            timerTip.html(countdown + '秒后重新获取');
            var timer = setInterval(function(){
                if (countdown == 0) {
                    clearInterval(timer);
                } else {
                    countdown--;
                    timerTip.html(countdown+"秒后重新获取");
                }
            },1000);
    }
    timedMsg()
</script>